// @charset "utf-8";
/**
 * 短期分析-dqfx-model
 */
define(function (require, exports, module) {

	var dqfxModel = {
		dqfxData : null,
		request : function (param, callback) {
			var self = this;
			var begin = param.begin, end = param.end, url = '';
			url = 'http://hqstats.10jqka.com.cn/zdftj.php?begin=' + begin + '&end=' + end;

			interactions.ajaxJsonp({
				url : url,
				jsonpCallback : 'zdftj',
				callback : function (result) {
					self.dqfxData = result;
					callback(result);
				}
			});
		}
	};

	module.exports = dqfxModel;
});